Expand description
§argfile
Load additional CLI args from file
Prior art:
This is meant to work with any CLI parser, like clap, by pre-processing the arguments, like wild.
§Examples
argfile::expand_args(
argfile::parse_fromfile,
argfile::PREFIX,
).unwrap();
To integrate this with wild and clap
let args = wild::args_os();
let args = argfile::expand_args_from(
args,
argfile::parse_fromfile,
argfile::PREFIX,
).unwrap();
let matches = clap::Command::new("your_app")
.get_matches_from(args);
Enums§
- An individual argument
Constants§
- Conventional prefix to mark argfiles
Functions§
- Load prefixed-args from specified files
- Load prefixed-args from specified files
- Parse a Python fromfile
- parse_response
response
Parse a Microsoft response file